<template>
	<view class="content">
		<view @tap="$toPage('detail')" class="item" v-for="(item, index) in 20" :key="index">
					<image src="/static/images/classImg.png" mode="widthFix" class="cover"></image>
					<view class="info">
						<view class="title">一年级1班</view>
						<view class="summary">简介信息</view>
					</view>
				</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello',
				 list1: [
				    'https://cdn.uviewui.com/uview/swiper/swiper1.png',
				    'https://cdn.uviewui.com/uview/swiper/swiper2.png',
				    'https://cdn.uviewui.com/uview/swiper/swiper3.png',
				],
				src: 'https://cdn.uviewui.com/uview/album/1.jpg',
				list2: [{
						name: '关注',
					}, {
						name: '推荐',
					}, {
						name: '电影'
					}, {
						name: '科技'
					}, {
						name: '音乐'
					}, {
						name: '美食'
					}, {
						name: '文化'
					}, {
						name: '财经'
					}, {
						name: '手工'
					}]
			}
		},
		onLoad() {

		},
		methods: {
			change(e){
				
			},
			enterType(item) {
				console.log('item', item);
			}
		}
	}
</script>

<style>
	
</style>
